package com.maxuxu.springsecurity.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

@Controller
public class TestController {
    @GetMapping("/")
    @ResponseBody
    public String test(){


        return "成功登录";
    }

    @GetMapping("/level1")
    public String test2(){

        return "vip1.html";
    }
}
